package com.wonders.hisdoctor.station.project.base.domain;

import com.wonders.his.common.utils.validator.group.PrimaryGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>OUTP_PRESC_CLASS</p>
 * <p>db_table: OUTP_PRESC_CLASS</p>
 * @author tong-aj
 * @date 2021/04/30
 */
@ApiModel("OUTP_PRESC_CLASS")
@Accessors(chain = true)
@Data
@ToString
@TableName("OUTP_PRESC_CLASS")
public class OutpPrescClass implements Serializable {

    private static final long serialVersionUID = 1404167600260932835L;

    /** `主键` db_field: PRESC_CLASS; desc: PRESC_CLASS */
    @ApiModelProperty("PRESC_CLASS")
    @TableId
    @NotNull(message = "PRESC_CLASS不能为空", groups = PrimaryGroup.class)
    @TableField("PRESC_CLASS")
    private String prescClass;

    /** db_field: PRESC_NAME; desc: PRESC_NAME */
    @ApiModelProperty("PRESC_NAME")
    @TableField("PRESC_NAME")
    private String prescName;

    /** db_field: MEMO; desc: MEMO */
    @ApiModelProperty("MEMO")
    @TableField("MEMO")
    private String memo;

    /** db_field: PRESC_ALIAS; desc: PRESC_ALIAS */
    @ApiModelProperty("PRESC_ALIAS")
    @TableField("PRESC_ALIAS")
    private String prescAlias;

}